package com.ruoyi.bookkeeping.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 用户对象 book_user
 * 
 * @author ruoyi
 * @date 2023-02-24
 */
@Data
@ApiModel("用户对象")
public class BookUser
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    @TableId(type = IdType.AUTO)
    private Long userId;

    /** 头像地址 */
    @ApiModelProperty("问题ID")
    @Excel(name = "头像地址")
    private String headImg;

    @ApiModelProperty("用户名")
    @Excel(name = "用户名")
    private String userName;

    @ApiModelProperty("密码")
    @Excel(name = "密码")
    private String password;

    @ApiModelProperty("真实名字")
    @Excel(name = "真实名字")
    private String nickName;

    @ApiModelProperty("性别(0男1女)")
    @Excel(name = "性别(0男1女)")
    private String sex;

    @ApiModelProperty("删除标志（0正常 2删除）")
    @TableLogic(value = "0",delval = "2")
    private String delFlag;


}
